Creates tenant reserved resources such as the total number of Layer 3 VNIs, VLANs, VRFs, and bridge domains for fabrics with non-auto VNI settings, which can later be applied to an endpoint group.
--enable-bd=true
or --enable-bd=false
.SW1_IP[0/1,0/2,0/12-15,0/5:4],SW2_IP[0/1,0/4,0/5:1-2,0/5:3,0/9-20]
.List of physical ports of devices which will be reserved as mirror destination ports. Example: SW1_IP[0/1,0/2,0/12-15,0/5:4],SW2_IP[0/1,0/4,0/5:1-2,0/5:3,0/9-20].
$ efa tenant create --name tenant11 --l2-vni-range 10002-14190 --l3-vni-range 14191-14200 --vlan-range 2-4090 --vrf-count 10 --port 10.20.216.15[0/11-20],10.20.216.16[0/11-20] --description Subscriber1 Tenant created successfully. --- Time Elapsed: 455.141597ms ---This example creates a BD-based tenant.
$ efa tenant create --name tenant21 --l2-vni-range 30002-34190 --l3-vni-range 34191-34200 --vlan-range 2-4090 --vrf-count 10 --enable-bd --port 10.20.216.15[0/21-28],10.20.216.16[0/21-28] Tenant created successfully. --- Time Elapsed: 501.176996ms ---This example creates a tenant with auto-VNI with breakout ports.
$ efa tenant create --name tenant12 --vlan-range 2-100 --vrf-count 10 --port 10.20.216.103[0/1-10],10.20.216.104[0/1-5,0/6:1-4] Tenant created successfully. --- Time Elapsed: 427.73527ms ---This example creates a shared tenant.
$ efa tenant create --name ST --type shared --port 10.20.216.15[0/1-10],10.20.216.16[0/1-10] Tenant created successfully. --- Time Elapsed: 381.182892ms ---